// 登录参数接口
export interface LoginParams {
  username: string;
  password: string;
}

// 注册参数接口
export interface RegisterParams {
  username: string;
  password: string;
  nickname: string;
  avatar?: string;
}

// 用户信息接口
export interface User {
  id: string;
  username: string;
  nickname: string;
  avatar: string;
  createdAt: string;
}

// 认证响应接口
export interface AuthResponse {
  token: string;
  user: User;
}